﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class EntityCollection
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class EntityCollection
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="netDxf.Collections.EntityCollection">
  
  
  <h1 id="netDxf_Collections_EntityCollection" data-uid="netDxf.Collections.EntityCollection" class="text-break">Class EntityCollection
  </h1>
  <div class="markdown level0 summary"><p>Represent a collection of <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> that fire events when it is modified.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">EntityCollection</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><span class="xref">System.Collections.Generic.IList</span>&lt;<a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>&gt;</div>
    <div><span class="xref">System.Collections.Generic.ICollection</span>&lt;<a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>&gt;</div>
    <div><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>&gt;</div>
    <div><span class="xref">System.Collections.IEnumerable</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="netDxf.Collections.html">netDxf.Collections</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="netDxf_Collections_EntityCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class EntityCollection : IList&lt;EntityObject&gt;, ICollection&lt;EntityObject&gt;, IEnumerable&lt;EntityObject&gt;, IEnumerable</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection__ctor.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L105">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection__ctor_" data-uid="netDxf.Collections.EntityCollection.#ctor*"></a>
  <h4 id="netDxf_Collections_EntityCollection__ctor" data-uid="netDxf.Collections.EntityCollection.#ctor">EntityCollection()</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of <code>EntityCollection</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public EntityCollection()</code></pre>
  </div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection__ctor_System_Int32_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.%23ctor(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L114">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection__ctor_" data-uid="netDxf.Collections.EntityCollection.#ctor*"></a>
  <h4 id="netDxf_Collections_EntityCollection__ctor_System_Int32_" data-uid="netDxf.Collections.EntityCollection.#ctor(System.Int32)">EntityCollection(Int32)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of <code>EntityCollection</code> and has the specified initial capacity.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public EntityCollection(int capacity)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">capacity</span></td>
        <td><p>The number of items the collection can initially store.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_Count.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.Count%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L153">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_Count_" data-uid="netDxf.Collections.EntityCollection.Count*"></a>
  <h4 id="netDxf_Collections_EntityCollection_Count" data-uid="netDxf.Collections.EntityCollection.Count">Count</h4>
  <div class="markdown level1 summary"><p>Gets the number of <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> contained in the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int Count { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_IsReadOnly.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.IsReadOnly%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L161">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_IsReadOnly_" data-uid="netDxf.Collections.EntityCollection.IsReadOnly*"></a>
  <h4 id="netDxf_Collections_EntityCollection_IsReadOnly" data-uid="netDxf.Collections.EntityCollection.IsReadOnly">IsReadOnly</h4>
  <div class="markdown level1 summary"><p>Gets a value indicating whether the collection is read-only.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public virtual bool IsReadOnly { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_Item_System_Int32_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.Item(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L130">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_Item_" data-uid="netDxf.Collections.EntityCollection.Item*"></a>
  <h4 id="netDxf_Collections_EntityCollection_Item_System_Int32_" data-uid="netDxf.Collections.EntityCollection.Item(System.Int32)">Item[Int32]</h4>
  <div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> at the specified index.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public EntityObject this[int index] { get; set; }</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The zero-based index of the element to get or set.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><p>The <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_Add_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.Add(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L175">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_Add_" data-uid="netDxf.Collections.EntityCollection.Add*"></a>
  <h4 id="netDxf_Collections_EntityCollection_Add_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.Add(netDxf.Entities.EntityObject)">Add(EntityObject)</h4>
  <div class="markdown level1 summary"><p>Adds an <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> to the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Add(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td><p>The <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> to add to the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_AddRange_System_Collections_Generic_IEnumerable_netDxf_Entities_EntityObject__.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.AddRange(System.Collections.Generic.IEnumerable%7BnetDxf.Entities.EntityObject%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L187">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_AddRange_" data-uid="netDxf.Collections.EntityCollection.AddRange*"></a>
  <h4 id="netDxf_Collections_EntityCollection_AddRange_System_Collections_Generic_IEnumerable_netDxf_Entities_EntityObject__" data-uid="netDxf.Collections.EntityCollection.AddRange(System.Collections.Generic.IEnumerable{netDxf.Entities.EntityObject})">AddRange(IEnumerable&lt;EntityObject&gt;)</h4>
  <div class="markdown level1 summary"><p>Adds an <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> list to the end of the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void AddRange(IEnumerable&lt;EntityObject&gt; collection)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>&gt;</td>
        <td><span class="parametername">collection</span></td>
        <td><p>The collection whose elements should be added.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_Clear.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.Clear%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L261">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_Clear_" data-uid="netDxf.Collections.EntityCollection.Clear*"></a>
  <h4 id="netDxf_Collections_EntityCollection_Clear" data-uid="netDxf.Collections.EntityCollection.Clear">Clear()</h4>
  <div class="markdown level1 summary"><p>Removes all <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> from the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Clear()</code></pre>
  </div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_Contains_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.Contains(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L284">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_Contains_" data-uid="netDxf.Collections.EntityCollection.Contains*"></a>
  <h4 id="netDxf_Collections_EntityCollection_Contains_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.Contains(netDxf.Entities.EntityObject)">Contains(EntityObject)</h4>
  <div class="markdown level1 summary"><p>Determines whether an <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> is in the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Contains(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td><p>The <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> to locate in the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True if item is found in the collection; otherwise, false.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_CopyTo_netDxf_Entities_EntityObject___System_Int32_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.CopyTo(netDxf.Entities.EntityObject%5B%5D%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L294">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_CopyTo_" data-uid="netDxf.Collections.EntityCollection.CopyTo*"></a>
  <h4 id="netDxf_Collections_EntityCollection_CopyTo_netDxf_Entities_EntityObject___System_Int32_" data-uid="netDxf.Collections.EntityCollection.CopyTo(netDxf.Entities.EntityObject[],System.Int32)">CopyTo(EntityObject[], Int32)</h4>
  <div class="markdown level1 summary"><p>Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void CopyTo(EntityObject[] array, int arrayIndex)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>[]</td>
        <td><span class="parametername">array</span></td>
        <td><p>The one-dimensional System.Array that is the destination of the elements copied from the collection. The System.Array must have zero-based indexing.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">arrayIndex</span></td>
        <td><p>The zero-based index in array at which copying begins.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_GetEnumerator.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L303">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_GetEnumerator_" data-uid="netDxf.Collections.EntityCollection.GetEnumerator*"></a>
  <h4 id="netDxf_Collections_EntityCollection_GetEnumerator" data-uid="netDxf.Collections.EntityCollection.GetEnumerator">GetEnumerator()</h4>
  <div class="markdown level1 summary"><p>Returns an enumerator that iterates through the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IEnumerator&lt;EntityObject&gt; GetEnumerator()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerator</span>&lt;<a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>&gt;</td>
        <td><p>An enumerator that can be used to iterate through the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_IndexOf_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.IndexOf(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L274">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_IndexOf_" data-uid="netDxf.Collections.EntityCollection.IndexOf*"></a>
  <h4 id="netDxf_Collections_EntityCollection_IndexOf_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.IndexOf(netDxf.Entities.EntityObject)">IndexOf(EntityObject)</h4>
  <div class="markdown level1 summary"><p>Searches for the specified <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> and returns the zero-based index of the first occurrence within the entire collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public int IndexOf(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td><p>The <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> to locate in the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, –1.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_Insert_System_Int32_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.Insert(System.Int32%2CnetDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L200">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_Insert_" data-uid="netDxf.Collections.EntityCollection.Insert*"></a>
  <h4 id="netDxf_Collections_EntityCollection_Insert_System_Int32_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.Insert(System.Int32,netDxf.Entities.EntityObject)">Insert(Int32, EntityObject)</h4>
  <div class="markdown level1 summary"><p>Inserts an <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> into the collection at the specified index.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Insert(int index, EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The zero-based index at which item should be inserted.</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td><p>The <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> to insert. The value can not be null.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_OnAddItemEvent_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.OnAddItemEvent(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L58">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_OnAddItemEvent_" data-uid="netDxf.Collections.EntityCollection.OnAddItemEvent*"></a>
  <h4 id="netDxf_Collections_EntityCollection_OnAddItemEvent_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.OnAddItemEvent(netDxf.Entities.EntityObject)">OnAddItemEvent(EntityObject)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void OnAddItemEvent(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_OnBeforeAddItemEvent_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.OnBeforeAddItemEvent(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L42">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_OnBeforeAddItemEvent_" data-uid="netDxf.Collections.EntityCollection.OnBeforeAddItemEvent*"></a>
  <h4 id="netDxf_Collections_EntityCollection_OnBeforeAddItemEvent_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.OnBeforeAddItemEvent(netDxf.Entities.EntityObject)">OnBeforeAddItemEvent(EntityObject)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual bool OnBeforeAddItemEvent(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_OnBeforeRemoveItemEvent_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.OnBeforeRemoveItemEvent(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L69">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_OnBeforeRemoveItemEvent_" data-uid="netDxf.Collections.EntityCollection.OnBeforeRemoveItemEvent*"></a>
  <h4 id="netDxf_Collections_EntityCollection_OnBeforeRemoveItemEvent_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.OnBeforeRemoveItemEvent(netDxf.Entities.EntityObject)">OnBeforeRemoveItemEvent(EntityObject)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual bool OnBeforeRemoveItemEvent(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_OnRemoveItemEvent_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.OnRemoveItemEvent(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L85">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_OnRemoveItemEvent_" data-uid="netDxf.Collections.EntityCollection.OnRemoveItemEvent*"></a>
  <h4 id="netDxf_Collections_EntityCollection_OnRemoveItemEvent_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.OnRemoveItemEvent(netDxf.Entities.EntityObject)">OnRemoveItemEvent(EntityObject)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void OnRemoveItemEvent(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_Remove_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.Remove(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L218">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_Remove_" data-uid="netDxf.Collections.EntityCollection.Remove*"></a>
  <h4 id="netDxf_Collections_EntityCollection_Remove_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.Remove(netDxf.Entities.EntityObject)">Remove(EntityObject)</h4>
  <div class="markdown level1 summary"><p>Removes the first occurrence of a specific <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> from the collection</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool Remove(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td><p>The <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> to remove from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>True if <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> is successfully removed; otherwise, false.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_Remove_System_Collections_Generic_IEnumerable_netDxf_Entities_EntityObject__.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.Remove(System.Collections.Generic.IEnumerable%7BnetDxf.Entities.EntityObject%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L234">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_Remove_" data-uid="netDxf.Collections.EntityCollection.Remove*"></a>
  <h4 id="netDxf_Collections_EntityCollection_Remove_System_Collections_Generic_IEnumerable_netDxf_Entities_EntityObject__" data-uid="netDxf.Collections.EntityCollection.Remove(System.Collections.Generic.IEnumerable{netDxf.Entities.EntityObject})">Remove(IEnumerable&lt;EntityObject&gt;)</h4>
  <div class="markdown level1 summary"><p>Removes the first occurrence of a specific object from the collection</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Remove(IEnumerable&lt;EntityObject&gt; items)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a>&gt;</td>
        <td><span class="parametername">items</span></td>
        <td><p>The list of objects to remove from the collection.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_RemoveAt_System_Int32_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.RemoveAt(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L247">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_RemoveAt_" data-uid="netDxf.Collections.EntityCollection.RemoveAt*"></a>
  <h4 id="netDxf_Collections_EntityCollection_RemoveAt_System_Int32_" data-uid="netDxf.Collections.EntityCollection.RemoveAt(System.Int32)">RemoveAt(Int32)</h4>
  <div class="markdown level1 summary"><p>Removes the <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> at the specified index of the collection.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void RemoveAt(int index)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td><p>The zero-based index of the <a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a> to remove.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_AddItem.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.AddItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L56">View Source</a>
  </span>
  <h4 id="netDxf_Collections_EntityCollection_AddItem" data-uid="netDxf.Collections.EntityCollection.AddItem">AddItem</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event EntityCollection.AddItemEventHandler AddItem</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Collections.EntityCollection.AddItemEventHandler.html">EntityCollection.AddItemEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_BeforeAddItem.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.BeforeAddItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L40">View Source</a>
  </span>
  <h4 id="netDxf_Collections_EntityCollection_BeforeAddItem" data-uid="netDxf.Collections.EntityCollection.BeforeAddItem">BeforeAddItem</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event EntityCollection.BeforeAddItemEventHandler BeforeAddItem</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Collections.EntityCollection.BeforeAddItemEventHandler.html">EntityCollection.BeforeAddItemEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_BeforeRemoveItem.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.BeforeRemoveItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L67">View Source</a>
  </span>
  <h4 id="netDxf_Collections_EntityCollection_BeforeRemoveItem" data-uid="netDxf.Collections.EntityCollection.BeforeRemoveItem">BeforeRemoveItem</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event EntityCollection.BeforeRemoveItemEventHandler BeforeRemoveItem</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Collections.EntityCollection.BeforeRemoveItemEventHandler.html">EntityCollection.BeforeRemoveItemEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_RemoveItem.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.RemoveItem%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L83">View Source</a>
  </span>
  <h4 id="netDxf_Collections_EntityCollection_RemoveItem" data-uid="netDxf.Collections.EntityCollection.RemoveItem">RemoveItem</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event EntityCollection.RemoveItemEventHandler RemoveItem</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Collections.EntityCollection.RemoveItemEventHandler.html">EntityCollection.RemoveItemEventHandler</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="eii">Explicit Interface Implementations
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_System_Collections_Generic_ICollection_netDxf_Entities_EntityObject__Add_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.System%23Collections%23Generic%23ICollection%7BnetDxf%23Entities%23EntityObject%7D%23Add(netDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L312">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_System_Collections_Generic_ICollection_netDxf_Entities_EntityObject__Add_" data-uid="netDxf.Collections.EntityCollection.System#Collections#Generic#ICollection{netDxf#Entities#EntityObject}#Add*"></a>
  <h4 id="netDxf_Collections_EntityCollection_System_Collections_Generic_ICollection_netDxf_Entities_EntityObject__Add_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.System#Collections#Generic#ICollection{netDxf#Entities#EntityObject}#Add(netDxf.Entities.EntityObject)">ICollection&lt;EntityObject&gt;.Add(EntityObject)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void ICollection&lt;EntityObject&gt;.Add(EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_System_Collections_Generic_IList_netDxf_Entities_EntityObject__Insert_System_Int32_netDxf_Entities_EntityObject_.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.System%23Collections%23Generic%23IList%7BnetDxf%23Entities%23EntityObject%7D%23Insert(System.Int32%2CnetDxf.Entities.EntityObject)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L317">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_System_Collections_Generic_IList_netDxf_Entities_EntityObject__Insert_" data-uid="netDxf.Collections.EntityCollection.System#Collections#Generic#IList{netDxf#Entities#EntityObject}#Insert*"></a>
  <h4 id="netDxf_Collections_EntityCollection_System_Collections_Generic_IList_netDxf_Entities_EntityObject__Insert_System_Int32_netDxf_Entities_EntityObject_" data-uid="netDxf.Collections.EntityCollection.System#Collections#Generic#IList{netDxf#Entities#EntityObject}#Insert(System.Int32,netDxf.Entities.EntityObject)">IList&lt;EntityObject&gt;.Insert(Int32, EntityObject)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void IList&lt;EntityObject&gt;.Insert(int index, EntityObject item)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><span class="parametername">index</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="netDxf.Entities.EntityObject.html">EntityObject</a></td>
        <td><span class="parametername">item</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection_System_Collections_IEnumerable_GetEnumerator.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection.System%23Collections%23IEnumerable%23GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L322">View Source</a>
  </span>
  <a id="netDxf_Collections_EntityCollection_System_Collections_IEnumerable_GetEnumerator_" data-uid="netDxf.Collections.EntityCollection.System#Collections#IEnumerable#GetEnumerator*"></a>
  <h4 id="netDxf_Collections_EntityCollection_System_Collections_IEnumerable_GetEnumerator" data-uid="netDxf.Collections.EntityCollection.System#Collections#IEnumerable#GetEnumerator">IEnumerable.GetEnumerator()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">IEnumerator IEnumerable.GetEnumerator()</code></pre>
  </div>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.IEnumerator</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <span class="xref">System.Collections.Generic.IList&lt;T&gt;</span>
  </div>
  <div>
      <span class="xref">System.Collections.Generic.ICollection&lt;T&gt;</span>
  </div>
  <div>
      <span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
  </div>
  <div>
      <span class="xref">System.Collections.IEnumerable</span>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=netDxf_Collections_EntityCollection.md&amp;value=---%0Auid%3A%20netDxf.Collections.EntityCollection%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/DXF/Collections/EntityCollection.cs/#L33" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
